class Nint(int):
    def __new__(cls, arg = 0):
        if isinstance(arg, str):
            total = 0
            for i in arg:
                total += ord(i)
            arg = total
        return int.__new__(cls, arg)
